package studentproject.main.domain;

public class Teacher extends Person{
    private String salary;
    //Constructor========================================================================================


    public Teacher(String salary) {
        this.salary = salary;
    }

    public Teacher() {
    }

    public Teacher(String id, String name, String age, String birthday, String address, String salary) {
        super(id, name, age, birthday, address);
        this.salary = salary;
    }
    //Getter and Setter===================================================================================
    public String getSalary() {
        return salary;
    }

    public void setSalary(String salary) {
        this.salary = salary;
    }
}
